package com.example.demo05.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.sql.Timestamp;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author anxuan
 * @since 2021-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学号
     */
    @TableField("loginId")
    private String loginid;

    /**
     * 密码
     */
    private String password;

    /**
     * 姓名
     */
    private String username;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 身份证号码
     */
    @TableField("identityNumber")
    private String identitynumber;

    /**
     * 角色
     */
    private String identity;

    @TableField("createTime")
    private Date createtime;

    @TableField("updateTime")
    private Date updatetime;

    @TableField("acountNonLocked")
    private Boolean acountnonlocked;

    @TableField("flag")
    private int flag;


}
